package com.eoner.managerlibrary.system.request;

import com.eoner.baselib.container.CommonBaseResponse;
import com.eoner.commonbean.config.SysConfigBean;
import com.eoner.commonbean.config.SystemConfigBean;

import java.util.List;

import okhttp3.MultipartBody;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Url;

public interface SystemConfigApi {

    @GET("/v1/config/get")
    io.reactivex.Observable<SystemConfigBean> requestSystemConfig();

    @Multipart
    @POST("1/config/index")
    io.reactivex.Observable<CommonBaseResponse<SysConfigBean>> requestSysConfig(@Part List<MultipartBody.Part> parts);

}
